package com.jason.exp.service;

import com.jason.exp.entity.User;

/**
 * Created by fuyongde on 2016/8/31.
 */
public interface UserService {

    User findById(String userId);

    User registerUser(User user);

    boolean isExist(String username);

    void sendActivateMail(String userId, String email);

    void updateUserEmail(String userId, String email);

    void updateUserPhone(String userId, String phone);

    void activateUser(String userId);

    void activateUser(String userId, Integer code);
}
